<?php
/**
 * Clase Base Bean para BaseImTransferDetBN
 *
 * @package    G.Exp.
 * @subpackage BaseImTransferDetBN
 * @author     hans
 * @version    SVN:: BaseImTransferDetBN.class.php,v 1.1 2012-06-08 23:42:41 Hans.parra Exp $
 */
require_once('class/im/transfer/BBN/BaseImTransferDetBN.class.php');
abstract class BaseImTransferDetBN
{
  protected $TransferId;
  protected $TransferDetId;
  protected $ArticuloId;
  protected $Cant;
  protected $Estado;
  protected $CreaUsr;
  protected $CreaFecha;
  protected $ModiUsr;
  protected $ModiFecha;
  protected $Mensaje;
  protected $Error;

  public function getTransferId(){
    return $this->TransferId;
  }
  public function setTransferId($v1){
    $this->TransferId = $v1; 
  }

  public function getTransferDetId(){
    return $this->TransferDetId;
  }
  public function setTransferDetId($v1){
    $this->TransferDetId = $v1; 
  }

  public function getArticuloId(){
    return $this->ArticuloId;
  }
  public function setArticuloId($v1){
    $this->ArticuloId = $v1; 
  }

  public function getCant(){
    return $this->Cant;
  }
  public function setCant($v1){
    $this->Cant = $v1; 
  }

  public function getEstado(){
    return $this->Estado;
  }
  public function setEstado($v1){
    $this->Estado = $v1; 
  }

  public function getCreaUsr(){
    return $this->CreaUsr;
  }
  public function setCreaUsr($v1){
    $this->CreaUsr = $v1; 
  }

  public function getCreaFecha(){
    return $this->CreaFecha;
  }
  public function setCreaFecha($v1){
    $this->CreaFecha = $v1; 
  }

  public function getModiUsr(){
    return $this->ModiUsr;
  }
  public function setModiUsr($v1){
    $this->ModiUsr = $v1; 
  }

  public function getModiFecha(){
    return $this->ModiFecha;
  }
  public function setModiFecha($v1){
    $this->ModiFecha = $v1; 
  }

  public function getMensaje(){
    return $this->Mensaje;
  }
  public function setMensaje($vl){
    $this->Mensaje = $vl;
  }

  public function getError(){
    return $this->Error;
  }
  public function setError($vl){
    $this->Error = $vl;
  }

  /* Recupera un objeto Im_transferDetBN desde un RecordSet */
  public static function retrieveByRs( $o_Im_transferDetRs )
  {
    $o_ImTransferDetBN = new ImTransferDetBN();
    $o_ImTransferDetBN->setTransferId( $o_Im_transferDetRs['transferId'] );
    $o_ImTransferDetBN->setTransferDetId( $o_Im_transferDetRs['transferDetId'] );
    $o_ImTransferDetBN->setArticuloId( $o_Im_transferDetRs['articuloId'] );
    $o_ImTransferDetBN->setCant( $o_Im_transferDetRs['cant'] );
    $o_ImTransferDetBN->setEstado( $o_Im_transferDetRs['estado'] );
    $o_ImTransferDetBN->setCreaUsr( $o_Im_transferDetRs['creaUsr'] );
    $o_ImTransferDetBN->setCreaFecha( $o_Im_transferDetRs['creaFecha'] );
    $o_ImTransferDetBN->setModiUsr( $o_Im_transferDetRs['modiUsr'] );
    $o_ImTransferDetBN->setModiFecha( $o_Im_transferDetRs['modiFecha'] );
    return $o_ImTransferDetBN;
  }
}